package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitSysLicenceRouter(Router *gin.RouterGroup) {
	SysLicenceRouter := Router.Group("sysLicence").Use(middleware.OperationRecord())
	{
		SysLicenceRouter.POST("createSysLicence", v1.CreateSysLicence)   // 新建SysLicence
		SysLicenceRouter.DELETE("deleteSysLicence", v1.DeleteSysLicence) // 删除SysLicence
		SysLicenceRouter.DELETE("deleteSysLicenceByIds", v1.DeleteSysLicenceByIds) // 批量删除SysLicence
		SysLicenceRouter.PUT("updateSysLicence", v1.UpdateSysLicence)    // 更新SysLicence
		SysLicenceRouter.GET("findSysLicence", v1.FindSysLicence)        // 根据ID获取SysLicence
		SysLicenceRouter.GET("getSysLicenceList", v1.GetSysLicenceList)  // 获取SysLicence列表
	}
}
